package edu.suda.xsap.mapper;
import edu.suda.xsap.entity.HomePage;
import edu.suda.xsap.entity.Log;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.Month;
import java.time.Year;
import java.util.List;
@Mapper
public interface HomePageMapper {
    Integer getMemCount();
    Integer getActiveCount();

    List<HomePage> getMonthlyCharge(@Param("year") Year year, @Param("month") Month month);

    List<HomePage> getCardCount();


}
